﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <link href="~/Content/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/bootstrap/css/base.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-2.1.1.min.js"></script>
    <script src="~/Content/bootstrap/js/bootstrap.js"></script>
    <script src="~/Scripts/layer/layer.js"></script>
    <script src="~/Scripts/qrcode.js"></script>
    <title>邀请</title>
    <style type="text/css">
        body {
            font-family: arial, '宋体';
            background: white;
        }

        .container-fluid {
            margin: 0;
            padding: 0;
            text-align: center;
        }

        .btn_ok {
            background-color: #F3A433;
            border: none;
            color: white;
        }

        #update_pass {
            background-color: #F3A433;
            text-align: center;
            font-weight: bold;
            font-size: 20px;
            width: 100%;
            height: 60px;
            line-height: 60px;
        }

        #txt_password {
            margin-top: 15%;
        }

        .container-fluid {
            margin: 0;
            padding: 0;
        }

        #content_sel {
            text-align: left;
        }

        #div_mobile > input {
            width: 70%;
        }
    </style>
    <script>
        function sq_click()
        {
            var sel_state = $("#sel_state").val();
            $.ajax({
                type: "POST",
                url: "/Examine/OpeShare",
                dataType: "json",
                data: { "id": '@ViewData["id"] ', "agency_id": '@Model.id', "state": sel_state },
                success: function (data) {
                    if (data.MessageCode == "0") {
                        layer.msg("操作成功！");
                        setTimeout(function () {
                            window.location.href = "/Examine/Index";
                        }, 2000)
                    } else {
                        layer.msg("操作失败！");
                    }
                }
            });


        }
    </script>
</head>
<body>




    <div class="div_mobile" id="div_mobile" >
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12" id="update_pass">
                    <span style="text-align:center;color:white;">用户审核</span>
                </div>
            </div>
            @{ if (@Model != null)
                         { 
            <div class="row-fluid">
                <div class="span12" style="margin-top:10px;">
                    商家名称：<input type="text" id="txt_userName" value="@Model.name" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    公司名称：<input type="text" id="txt_companyName" value="@Model.company_name" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    联&nbsp;&nbsp;系&nbsp;&nbsp;人：<input type="text" id="txt_contartName" value="@Model.contract_name" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    手&nbsp;&nbsp;机&nbsp;&nbsp;号：<input type="text" id="txt_mobile" value="@Model.mobile" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    &nbsp;&nbsp; QQ&nbsp;&nbsp;号：<input type="text" id=" txt_qq" value="@Model.qq" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    微&nbsp;&nbsp;信&nbsp;&nbsp;号：<input type="text" id="txt_wxCode" value="@Model.wx_openid" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    旺&nbsp;&nbsp;旺&nbsp;&nbsp;号：<input type="text" id="txt_wwcode" value="@Model.ww_code" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    身份证号：<input type="text" id="txt_idcard" value="@Model.id_card" disabled="disabled" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    店铺网址：<input type="text" id="txt_shopurl" value="@Model.shop_url" disabled="disabled" />
                </div>
            </div>
             <div class="row-fluid">
                <div class="span12">
                    &nbsp;&nbsp; 状&nbsp;&nbsp;态：<select id="sel_state" style="width:185px;">
                      <option value="2">审核</option>
                      <option value="3">放弃</option>
                    </select>
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    <input type="button" id="btn_sq" onclick="sq_click();" value="提交" style=" margin-left:20%;width: 30%; height: 30px; border: 0px; text-align: center; background-color: #F3A433; color:white; border-radius: 4px; " />
                </div>
            </div>
             }
            }
        </div>
    </div>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12" style="text-align:center;">
                <span class="navbar navbar-fixed-bottom" style="color: #B2B2B2;">技术支持：上海诺标</span>
            </div>
        </div>
    </div>
    <div class="serp_quick_but">
        <a id="ab" class="quick_menu"></a>
        <a href="../Home/Index" id="a1" class="quick_menu_back small"><span>首页</span></a>
        <a href="../Certificate/Index" id="a2" class="quick_menu_fahuo small"><span>证书</span></a>
        <a href="../Examine/Index" id="a4" class="quick_menu_clienk small"><span>用户</span></a>
        <a href="../WechartShare/Index" id="a4" class="quick_menu_clienk small"><span>邀请</span></a>
        <a href="../Sqauthorization/Index" id="a3" class="quick_menu_shaom small"><span>申请</span></a>
        <a href="../Password/Index" id="a4" class="quick_menu_clienk small"><span>密码</span></a>
        <a href="../Login/ClearSession" id="a5" class="quick_menu_follow small"><span>退出</span></a>
    </div>


    <style type="text/css">
        .sharePic {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 2000;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            text-align: right;
        }

            .sharePic.on {
                display: block;
            }

            .sharePic img {
                margin-top: 10px;
                margin-right: 30px;
                width: 160px;
            }

        .serp_quick_but {
            position: fixed;
            width: 300px;
            height: 52px;
            bottom: 0px;
            right: 5px;
        }

            .serp_quick_but a {
                display: block;
                position: absolute;
                text-align: center;
                text-decoration: none;
            }

                .serp_quick_but a span {
                    font-size: 12px;
                    line-height: 94px;
                    color: #000;
                }

        a.small {
            width: 32px;
            height: 32px;
            background: #d5d5d5;
            border-radius: 30px;
            border: 2px solid #fff;
            background: url(../Content/images/pic02.png) no-repeat rgba(0,0,0,0.4);
            background-size: auto 69px;
        }

        a:hover.small {
            border: 2px solid #fc4e2b;
            background: #fff;
        }

        .serp_quick_but a.quick_menu {
            right: 5px;
            top: 0px;
            width: 30px;
            height: 30px;
            background: url(../Content/images/pic02.png) no-repeat;
            background-size: auto 30px;
        }

        .serp_quick_but a.quick_menu_back {
            right: 55px;
            top: -5px;
            background-position: -69px -18px;
            display: none;
        }

        .serp_quick_but a.quick_menu_fahuo {
            right: 105px;
            top: -5px;
            background-position: -100px -18px;
            display: none;
        }

        .serp_quick_but a.quick_menu_shaom {
            right: 155px;
            top: -5px;
            background-position: -137px -18px;
            display: none;
        }

        .serp_quick_but a.quick_menu_clienk {
            right: 205px;
            top: -5px;
            background-position: -169px -18px;
            display: none;
        }

        .serp_quick_but a.quick_menu_follow {
            right: 255px;
            top: -5px;
            background-position: -209px -18px;
            display: none;
        }
    </style>
    <script>
        //左下方导航
        $(function () {
            var i = 0;
            $("#ab").click(function () {
                i++;
                if (i % 2 == 0) {
                    $("#a1").hide();
                    $("#a2").hide();
                    $("#a3").hide();
                    $("#a4").hide();
                    $("#a5").hide();
                }
                else {
                    $("#a1").show();
                    $("#a2").show();
                    $("#a3").show();
                    $("#a4").show();
                    $("#a5").show();
                }
            })
        })
    </script>


</body>
</html>
